Skip to content

[AutoPR azure-keyvault-keys]-generated-from-SDK Generation - Python-6328433#47027

Open
azure-sdk wants to merge 7 commits into
mainfrom
sdkauto/azure-keyvault-keys-6328433
Open

[AutoPR azure-keyvault-keys]-generated-from-SDK Generation - Python-6328433#47027
azure-sdk wants to merge 7 commits into
mainfrom
sdkauto/azure-keyvault-keys-6328433

Conversation

@azure-sdk
Copy link
Copy Markdown
Collaborator

Configurations: 'specification/keyvault/data-plane/Keys/tspconfig.yaml', API Version: 2026-03-01-preview, SDK Release Type: beta, and CommitSHA: '9dd262c196cd5d27bb01a6bf4d645d9c89cc0f02' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6328433 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.

@nnoboa nnoboa self-assigned this May 20, 2026
@nnoboa nnoboa requested a review from rohitsinghal4u May 20, 2026 18:50
@nnoboa nnoboa marked this pull request as ready for review May 20, 2026 18:59
@nnoboa nnoboa requested a review from a team as a code owner May 20, 2026 18:59
Copilot AI review requested due to automatic review settings May 20, 2026 18:59
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates azure-keyvault-keys generated code from the Key Vault Keys TypeSpec for API version 2026-03-01-preview, adding new models/operations and aligning generated infrastructure (serialization/model base) with newer generator output.

Changes:

  • Bumps generated API surface to include 2026-03-01-preview and adds secure wrap/unwrap operations + related models/enums.
  • Refactors generated internals by removing legacy _serialization.py/_model_base.py in favor of _utils/ equivalents, and updates typing (Self, list[str]).
  • Updates metadata (tsp-location.yaml, _metadata.json, apiview mapping) and versioning (_generated/_version.py, changelog entry).

Reviewed changes

Copilot reviewed 25 out of 25 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
sdk/keyvault/azure-keyvault-keys/tsp-location.yaml Updates spec repo commit and adds an additional directory for shared TypeSpec sources.
sdk/keyvault/azure-keyvault-keys/CHANGELOG.md Adds unreleased 4.12.0b1 entry for the new API version/default.
sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/models/_patch.py Modernizes typing (list[str]) and header template.
sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/models/_models.py Adds new generated models and extends existing ones for the new API version.
sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/models/_enums.py Adds wrap algorithm enum and adjusts existing enum member names.
sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/models/init.py Exposes new models/enums via the generated models package.
sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/aio/_vendor.py Removes async vendor typing mixin file.
sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/aio/_patch.py Modernizes typing (list[str]) and header template.
sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/aio/_operations/_patch.py Modernizes typing (list[str]) and header template.
sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/aio/_operations/_operations.py Adds async secure wrap/unwrap operations and updates API version lists/request construction.
sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/aio/_configuration.py Updates default API version and api_version docstring text.
sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/aio/_client.py Updates Self import strategy and api_version docstring text.
sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/_version.py Bumps generated version string to 4.12.0b1.
sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/_vendor.py Removes sync vendor typing mixin file.
sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/_utils/serialization.py Switches Self import based on Python version; becomes the remaining serialization implementation.
sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/_utils/model_base.py Changes model default-handling behavior and Self import strategy.
sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/_serialization.py Removes legacy serialization module (now relying on _utils/serialization.py).
sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/_patch.py Modernizes typing (list[str]) and header template.
sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/_operations/_patch.py Modernizes typing (list[str]) and header template.
sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/_operations/_operations.py Adds secure wrap/unwrap operations and updates API version lists/request construction.
sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/_model_base.py Removes legacy model base module (now relying on _utils/model_base.py).
sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/_configuration.py Updates default API version and api_version docstring text.
sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/_client.py Updates Self import strategy and api_version docstring text.
sdk/keyvault/azure-keyvault-keys/apiview-properties.json Adds new API surface mappings for APIView (new models/operations/enums).
sdk/keyvault/azure-keyvault-keys/_metadata.json Updates API version and includes spec commit/repo/emitter metadata.

Comment thread sdk/keyvault/azure-keyvault-keys/CHANGELOG.md
nnoboa and others added 2 commits May 20, 2026 12:40
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@nnoboa nnoboa force-pushed the sdkauto/azure-keyvault-keys-6328433 branch 2 times, most recently from 10fdfe2 to 462a735 Compare May 22, 2026 22:00
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@nnoboa nnoboa force-pushed the sdkauto/azure-keyvault-keys-6328433 branch from 462a735 to 192b394 Compare May 26, 2026 17:20
@nnoboa nnoboa marked this pull request as draft May 26, 2026 19:04
@nnoboa nnoboa marked this pull request as ready for review May 26, 2026 20:20
@Azure Azure deleted a comment from azure-pipelines Bot May 26, 2026
@nnoboa
Copy link
Copy Markdown
Member

nnoboa commented May 26, 2026

/azp run python - pullrequest

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command.

nnoboa and others added 2 commits May 26, 2026 13:58
Resolve conflicts from PR #47116 (2026-01-01-preview) landing on main:
- Generated code (_generated/**, _metadata.json, apiview-properties.json): take ours, TSP commit 9dd262c1... contains both 2026-01-01-preview and 2026-03-01-preview
- tsp-location.yaml: take ours (newer TSP commit)
- assets.json: take ours (_a59f4659da has 2026-03-01-preview recordings)
- _shared/client_base.py: keep both V2026_03_01_PREVIEW and V2026_01_01_PREVIEW enum entries, DEFAULT_VERSION = V2026_03_01_PREVIEW
- CHANGELOG.md: new 4.12.0b2 (Unreleased) section above main's shipped 4.12.0b1 (2026-05-26)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ine)

Rebased recordings on main's _e47dc10e22 baseline (added by PR #47116) and layered our 2026-03-01-preview recordings on top. New tag contains:
- 131 [2026-01-01-preview_*] files (from main's baseline)
- 131 [2026-03-01-preview_*] files (ours, including 9 synthesized for tests new in main)

Full-suite playback: 1464 passed, 88 skipped, 0 failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Untriaged

Development

Successfully merging this pull request may close these issues.

3 participants